package com.nfIt.service.Impl;

import com.nfIt.User;
import com.nfIt.dao.Impl.UserDaoImpl;
import com.nfIt.dao.UserDao;
import com.nfIt.service.UserService;

import java.util.List;

/**
 * ClossName:UserServiceImpl
 * Pakage:com.nfIt.service.Impl
 * Description
 *
 * @Author L
 * @Create 2024/4/25 15:29
 * @Version 2023.1.3
 */
public class UserServiceImpl implements UserService {

    @Override
    public List<User> findAllUser() {
        UserDao userDao = new UserDaoImpl();

        List<User> list = userDao.selectAllUser();

        return list;
    }
}
